package org.vectrics.mail;

import org.vectrics.common.db.RecordObject;
import org.vectrics.domain.Domain;

public class FileEmailTemplateCategory implements RecordObject {
	private Long id = null;
	private String code = null;
	private String description = null;
	private boolean voided = false;
	private Domain domain = null;
	
	
	
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public String getCode() {
		return code;
	}
	
	public void setCode(String code) {
		this.code = code;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	
	
	public Domain getDomain() {
		return domain;
	}
	
	public void setDomain(Domain domain) {
		this.domain = domain;
	}
	
	public boolean getVoided() {
		return voided;
	}
	
	public void setVoided(boolean voided) {
		this.voided = voided;
	}
	
	@Override
	public String toString() {
		return("{id=" + this.id + "|code=" + this.code + "|domain=" + domain.getId() + "}");
	}

}
